package cn.edu.jxau.service;

import cn.edu.jxau.dao.userInfoDao;

public class changeUserStatus {
    
	 public static void  forbidUser(String username){
		 
		 userInfoDao userinfo=new userInfoDao();
		 userinfo.changeStatusByUsername(username, "禁用");
	 }
	 public static void  unlockUser(String username){
		 userInfoDao userinfo=new userInfoDao();
		 userinfo.changeStatusByUsername(username, "离线");
	 }
}
